package com.intellagric.service.traceability.trace_company;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.CompanyVo;
import com.intellagric.pojo.TraceCompany;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/11/6
 * @DESC： 公司信息管理服务接口
 */
public interface CompanyService {

    //增加场地信息
    ResponseMessage addCompany(TraceCompany company);

    //删除场地信息
    ResponseMessage deleteCompany(String id);

    //修改场地信息
    ResponseMessage editCompany(TraceCompany company);

    //查询场地信息
    TraceCompany getCompanyById(String id);
    LayuiDataGridResult getCompanyList();
    LayuiDataGridResult getCompanyPage(int page ,int rows);
    LayuiDataGridResult getCompanyByVo(int page ,int rows,CompanyVo CompanyVo);
    
}
